package org.igeek.config.autowired;


import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @package org.igeek.config.autowired
 * @Description
 * @Author LittlePunk [296526219@qq.ccom]
 * @Version 2022.1
 * @Date 2023/11/14 14:54
 */
public class Test {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext ac = new AnnotationConfigApplicationContext(MyConfig.class);
        UserController userController = ac.getBean("userController", UserController.class);
        userController.register();
    }
}
